package main;

import bean.UserInfo;
import controller.UserInfoController;

import java.util.List;

public class RunUI {
    public static void main(String[] args) throws Exception {
        UserInfoController userInfoController=new UserInfoController();

        List<UserInfo> userInfoList = userInfoController.queryUserInfo();

        for (UserInfo userInfo:userInfoList) {
            System.out.println(userInfo.getId()+"  "+ userInfo.getName()+"  "+userInfo.getPhoneNumber());
        }


    }
}
